﻿/**, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #1a1f3c;
    --navy-mid: #132848;
    --navy-light: #1b3a60;
    --blue: #1565c0;
    --accent: #0ea5e9;
    --white: #ffffff;
    --text: #c8d8ec;
    --muted: #8aaacb;
    --border: rgba(14,165,233,0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--navy);
    color: var(--text);
    font-size: 16px;
    line-height: 1.75;
    min-height: 100vh;
}*/

/* ── HERO ── */
/*.page-hero {
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
    border-bottom: 1px solid var(--border);
    padding: 60px 40px 50px;
    position: relative;
    overflow: hidden;
}

    .page-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient( -55deg, transparent, transparent 40px, rgba(14,165,233,0.03) 40px, rgba(14,165,233,0.03) 41px );
    }

    .page-hero::after {
        content: '';
        position: absolute;
        right: -80px;
        top: -80px;
        width: 340px;
        height: 340px;
        background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
        border-radius: 50%;
    }

.hero-inner {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .breadcrumb a {
        color: var(--accent);
        text-decoration: none;
    }

    .breadcrumb span {
        opacity: 0.5;
    }

.page-hero h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .page-hero h1 span {
        color: var(--accent);
    }*/

/* ── LAYOUT ── */
/*.layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    padding: 50px 40px 80px;
}

@@media (max-width: 820px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }
}*/

/* ── SIDEBAR ── */
/*.sidebar-inner {
    position: sticky;
    top: 84px;
    background: var(--navy-mid);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.sidebar-title {
    background: var(--navy-light);
    padding: 14px 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
}

.sidebar-nav {
    padding: 10px 0;
}

    .sidebar-nav a {
        display: block;
        padding: 9px 20px;
        color: var(--muted);
        text-decoration: none;
        font-size: 13.5px;
        border-left: 3px solid transparent;
        transition: all 0.2s;
    }

        .sidebar-nav a:hover,
        .sidebar-nav a.active {
            color: var(--accent);
            border-left-color: var(--accent);
            background: rgba(14,165,233,0.06);
        }*/

/* ── CONTENT ── */
/*.section-block {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.section-num {
    min-width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--blue));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}

.section-block h2 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.content-card {
    background: var(--navy-mid);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px 28px;
}

    .content-card p {
        color: var(--text);
        font-size: 15px;
        line-height: 1.78;
        margin-bottom: 14px;
    }

        .content-card p:last-child {
            margin-bottom: 0;
        }

    .content-card ul {
        margin: 8px 0 14px 18px;
    }

    .content-card li {
        margin-bottom: 8px;
        color: var(--text);
        font-size: 15px;
        line-height: 1.7;
    }

.ack-block {
    background: linear-gradient(135deg, rgba(21,101,192,0.25), rgba(14,165,233,0.10));
    border: 1px solid rgba(14,165,233,0.35);
    border-radius: 10px;
    padding: 28px;
    margin-top: 40px;
    text-align: center;
}

    .ack-block p {
        font-size: 15px;
        color: var(--text);
        line-height: 1.75;
        font-style: italic;
    }

    .ack-block strong {
        color: var(--white);
        font-style: normal;
    }*/

/* ============================================================
   homepage2.css — Policy Pages (Privacy, Terms, Refund)
   Styled to match BidMasters homepage1.css design language
   ============================================================ */

/* ============================================================
   homepage2.css — Policy Pages (Privacy, Terms, Refund)
   Styled to match BidMasters homepage1.css design language
   ============================================================ */
/* ============================================================
   homepage2.css — Policy Pages (Privacy, Terms, Refund)
   Styled to match BidMasters homepage1.css design language
   ============================================================ */

:root {
    --primary-purple: #5c54c4;
    --primary-gradient: linear-gradient(135deg, #4c49ac, #2b95a8);
    --dark-blue-bg: #1a1f3c;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --text-dark: #1d1d1f;
    --text-grey: #86868b;
    --apple-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --apple-card-radius: 20px;
    --apple-radius: 12px;
    --border-light: #e5e5ea;
    --accent-teal: #2b95a8;
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--apple-font);
    -webkit-font-smoothing: antialiased;
}

/* ── BODY ──────────────────────────────────────────────── */
body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    overflow-x: hidden;
    padding-top: 140px;
}

/* ── PAGE HERO (FIXED) ─────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #1a1f3c 0%, #2b4a6f 50%, #1a1f3c 100%);
    color: var(--white);
    padding: 30px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    overflow: hidden;
}

    .page-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 70% 50%, rgba(92,84,196,0.25) 0%, transparent 65%);
        pointer-events: none;
    }

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* ── BREADCRUMB ────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 18px;
}

    .breadcrumb a {
        color: rgba(255,255,255,0.65);
        text-decoration: none;
        transition: color 0.2s;
    }

        .breadcrumb a:hover {
            color: var(--white);
        }

    .breadcrumb span {
        color: rgba(255,255,255,0.4);
    }

/* ── HERO HEADING ──────────────────────────────────────── */
.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

    .page-hero h1 span {
        background: var(--primary-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

/* ── MAIN LAYOUT ───────────────────────────────────────── */
.layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    max-width: 1180px;
    margin: 40px auto 60px;
    padding: 0 5%;
    align-items: start;
}

/* ── SIDEBAR ───────────────────────────────────────────── */
.sidebar {
    position: sticky;
    top: 160px;
}

.sidebar-inner {
    background: var(--white);
    border-radius: var(--apple-radius);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 22px 18px;
}

.sidebar-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-grey);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .sidebar-nav a {
        display: block;
        font-size: 13px;
        font-weight: 500;
        color: #444;
        text-decoration: none;
        padding: 8px 10px;
        border-radius: 8px;
        transition: all 0.2s;
        line-height: 1.4;
    }

        .sidebar-nav a:hover {
            background: rgba(92,84,196,0.08);
            color: var(--primary-purple);
        }

        .sidebar-nav a.active {
            background: rgba(92,84,196,0.12);
            color: var(--primary-purple);
            font-weight: 600;
        }

/* ── CONTENT AREA ──────────────────────────────────────── */
.content {
    min-width: 0;
}

/* ── SECTION BLOCK ─────────────────────────────────────── */
.section-block {
    margin-bottom: 28px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── SECTION HEADER ────────────────────────────────────── */
.section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.section-num {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(92,84,196,0.3);
}

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

/* ── CONTENT CARD ──────────────────────────────────────── */
.content-card {
    background: var(--white);
    border-radius: var(--apple-radius);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 26px 28px;
}

    .content-card p {
        font-size: 14.5px;
        line-height: 1.75;
        color: #3a3a3c;
        margin-bottom: 14px;
    }

        .content-card p:last-child {
            margin-bottom: 0;
        }

    .content-card ul {
        padding-left: 20px;
        margin: 10px 0 14px;
    }

        .content-card ul li {
            font-size: 14.5px;
            line-height: 1.7;
            color: #3a3a3c;
            margin-bottom: 8px;
        }

    .content-card strong {
        color: var(--primary-purple);
        font-weight: 600;
    }

/* sub-label (used in Terms of Use) */
.sub-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* ── CALLOUT BOXES ─────────────────────────────────────── */

/* Note box — neutral info */
.note-box {
    background: #f5f7fa;
    border-left: 3px solid var(--primary-purple);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin-top: 16px;
    font-size: 13.5px;
    line-height: 1.65;
    color: #3a3a3c;
}

    .note-box strong {
        color: var(--primary-purple);
    }

/* Highlight box — teal accent */
.highlight-box {
    background: rgba(43,149,168,0.08);
    border-left: 3px solid var(--accent-teal);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin-top: 16px;
    font-size: 13.5px;
    line-height: 1.65;
    color: #3a3a3c;
}

    .highlight-box strong {
        color: #1e7d8f;
    }

/* Warning box — amber */
.warning-box {
    background: #fffbf0;
    border-left: 3px solid #f5a623;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin-top: 16px;
    font-size: 13.5px;
    line-height: 1.65;
    color: #5c4000;
}

    .warning-box strong {
        color: #b07800;
    }

/* ── ACKNOWLEDGEMENT BLOCK ─────────────────────────────── */
.ack-block {
    background: linear-gradient(135deg, #1a1f3c, #2a3b6f);
    border-radius: var(--apple-radius);
    padding: 24px 28px;
    margin-top: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.7;
    box-shadow: 0 6px 24px rgba(26,31,60,0.2);
}

    .ack-block strong {
        color: var(--white);
    }

/* ── FAQ ACCORDION ─────────────────────────────────────── */
.faq-item {
    background: var(--white);
    border-radius: var(--apple-radius);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

    .faq-item:hover {
        box-shadow: 0 6px 24px rgba(92,84,196,0.1);
    }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
}

    .faq-question span {
        font-size: 15px;
        font-weight: 600;
        color: var(--text-dark);
        line-height: 1.4;
    }

.faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(92,84,196,0.1);
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

    /* closed */
    .faq-icon::before {
        content: "↓";
    }

/* open */
.faq-item.open .faq-icon {
    background: var(--primary-purple);
    color: var(--white);
}

    .faq-item.open .faq-icon::before {
        content: "↑";
    }



.faq-answer {
    display: none;
    padding: 16px 24px 18px;
    font-size: 14.5px;
    line-height: 1.75;
    color: #3a3a3c;
    border-top: 1px solid var(--border-light);
}

    .faq-answer p {
        margin-bottom: 10px;
    }

        .faq-answer p:last-child {
            margin-bottom: 0;
        }

    .faq-answer ul {
        padding-left: 20px;
        margin-top: 8px;
    }

        .faq-answer ul li {
            margin-bottom: 6px;
            font-size: 14.5px;
            line-height: 1.7;
            color: #3a3a3c;
        }

    .faq-answer strong {
        color: var(--primary-purple);
        font-weight: 600;
    }

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-question span {
    color: var(--primary-purple);
}

/* ── TOC FLOATING BUTTON (mobile only) ────────────────── */
.toc-fab {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 999;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(92,84,196,0.35), 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
    align-items: center;
    gap: 8px;
}

    .toc-fab:active {
        transform: scale(0.95);
    }

/* ── TOC BOTTOM SHEET OVERLAY ─────────────────────────── */
.toc-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
}

    .toc-overlay.open {
        background: rgba(0,0,0,0.4);
    }

.toc-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    max-height: 60vh;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.12);
}

.toc-overlay.open .toc-sheet {
    transform: translateY(0);
}

/* Drag handle indicator */
.toc-sheet::before {
    content: "";
    width: 36px;
    height: 4px;
    background: #d1d1d6;
    border-radius: 4px;
    margin: 10px auto 0;
    flex-shrink: 0;
}

.toc-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px 10px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border-light);
}

.toc-sheet-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.2px;
}

.toc-sheet-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #f0f0f5;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

    .toc-sheet-close:active {
        background: #e0e0e5;
    }

.toc-sheet-nav {
    overflow-y: auto;
    padding: 10px 16px 28px;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .toc-sheet-nav a {
        display: block;
        font-size: 15px;
        font-weight: 500;
        color: #444;
        text-decoration: none;
        padding: 12px 14px;
        border-radius: 10px;
        transition: background 0.15s, color 0.15s;
        line-height: 1.35;
    }

        .toc-sheet-nav a:active {
            background: rgba(92,84,196,0.12);
            color: var(--primary-purple);
        }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .toc-fab {
        display: flex;
    }

    .toc-overlay {
        display: block;
        pointer-events: none;
        visibility: hidden;
    }

        .toc-overlay.open {
            pointer-events: auto;
            visibility: visible;
        }
}

@media (max-width: 600px) {
    .page-hero {
        padding: 20px 5%;
    }

    body {
        padding-top: 86px;
    }

        body.faq-page {
            padding-top: 116px;
        }

    .page-hero h1 {
        font-size: 28px;
    }

    .content-card {
        padding: 20px 18px;
    }

    .section-header h2 {
        font-size: 17px;
    }
}
